package com.jfcloud.mall.order.rpc.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.jfcloud.common.constants.ServiceNames;
import com.jfcloud.common.http.RespData;

import java.util.List;

@FeignClient(name =ServiceNames.mall_product)
public interface ProductServiceClient {

	@GetMapping(path = "/product/getProductDetails")
    RespData getProductDetails(@RequestParam("ids") List<Long> ids);
}
